//
//  CommentBottomView.m
//  DanTang
//
//  Created by honeyrr on 2017/9/25.
//  Copyright © 2017年 honeyrr. All rights reserved.
//

#import "CommentBottomView.h"

@interface CommentBottomView()

@property (weak, nonatomic) IBOutlet UIView *lineView;

@end

@implementation CommentBottomView

#pragma mark - 图文详情
- (IBAction)DetailBtnAction:(id)sender {
    [UIView animateWithDuration:0.35 animations:^{
        self.lineView.mr_x = 0;
    }];
    if ([self.delegate respondsToSelector:@selector(descBtnClick)]) {
        [self.delegate descBtnClick];
        //
    }
    
}
#pragma mark - 评论
- (IBAction)DetailCommentBtnAction:(id)sender {
    [UIView animateWithDuration:0.35 animations:^{
        self.lineView.mr_x = DTScreenW / 2;
    }];
    if ([self.delegate respondsToSelector:@selector(commentBtnClick)]) {
        [self.delegate commentBtnClick];
        
        //
    }
    
}

@end
